<include file="./Tm/Dt/Top.html" />
		<div class="main">
			<include file="./Tm/Dt/Nav.html" />
			<div class="area">
				<div class="pad-20">
					<div class="panel panel-default linear">
					  	<div class="panel-heading title">银行账号</div>
					  	<div class="panel-body">
				    		<div class="row-fluid">
				    			<div class="span12">
				    				<div class="tabbable" id="tabs-402357">
										<ul class="nav nav-tabs">
										    <li class="active">
												<a href="#panel-401018" data-toggle="tab">银行账号</a>
											</li>
											<li >
												<a href="#panel-862181" data-toggle="tab">添加我的账号</a>
											</li>
											
										</ul>
										<div class="tab-content">
											<div class="tab-pane " id="panel-862181">
												<div class="h-30"></div>
												<form class="form-horizontal" action="/user/bank_add" method="post">
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">开户姓名：<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputPassword3" name="bank_username">
												    </div>
												  </div>
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">银行卡号：<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputPassword3" name="bank_num">
												    </div>
												  </div>
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">开户银行：<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputPassword3" name="bank_name">
												    </div>
												  </div>
												  <div class="form-group pp">
												    <label for="inputPassword3" class="col-sm-2 control-label">支行信息：<span>*</span></label>
												    <div class="col-sm-3">
												      <input type="text" class="form-control" id="inputPassword3" name="bank_zhi">
												    </div>
												    <div class="col-sm-3">
												      <p class="pad-top-8" style="color:red;">××省××市××分/支行</p>
												    </div>
												  </div>
												  <div class="form-group">
												    <div class="col-sm-offset-2 col-sm-3">
												      <button type="submit" class="btn btn-primary">提交</button>
												    </div>
												  </div>
												</form>
											</div>
											<div class="tab-pane active" id="panel-401018">
												<div class="h-30"></div>
												<div class="table-responsive">
												<if condition="$count eq '0'" >您还没有添加新的银行账户！</if>
												<if condition="$count neq '0'" >
												  <table class="table">
												    <tr>
											    		<th>银行</th>
											    		<th>卡号</th>
											    		<th>户主</th>
											    		<th>操作</th>
												    </tr>
												    <foreach name='list' item='v'>
												    <tr>
												    	<td>{$v.bank_name}</td>
												    	<td>{$v.bank_num}</td>
												    	<td>{$v.bank_username}</td>
												    	<td><a onClick="javascript:if(!confirm('确定删除此银行账户？'))  return  false; " href="/user/bank_del/id/{$v.id}">删除</a></td>
												    </tr>
												    </foreach>
												  </table>
												</if>
												</div>
												<div aria-label="Page navigation" class="f-right">
												  <ul class="pagination">
												  {$page}
												  </ul>
												</div>
											</div>
										</div>
									</div>
				    			</div>
			    			</div>
					  	</div>
					</div>
				</div>
			</div>
		</div>
<include file="./Tm/Dt/Foot.html" />
